package com.innerchic.weqiuqiu.app;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.innerchic.mapper.log.Logger;
import com.innerchic.weqiuqiu.service.QiuQiuService;

/**
 * ================================================
 * 作    者：贾恒飞 >>> 17515250730@163.com
 * 项    目：wedudu
 * 日    期：2022/1/14 14:31
 * 包    名：com.innerchic.weqiuqiu.app
 * 描    述：开机广播
 * Create by zFox from AndroidStudio4.2
 * ================================================
 */
public class BootMonitorReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
            Logger.d("开机");
            QiuQiuService.startQiuQiuService(context, "BootMonitorReceiver");
        }
    }

}
